package standino.velocity.db.db2;

import standino.velocity.text.RegexTool;

public class Parameter extends Column {
	private String colName;

	public Parameter(String name, String type) {
		this.setName(name);
		this.setType(type);
	}

	public String getColName() {
		return colName;
	}

	public void setColName(String colName) {
		this.colName = colName;
	}

	public Parameter(Column co) {
		this.setColName(co.getName());
		this.setName("pi" + RegexTool.formateColum2Parameter(co.getName()));
		this.setType(co.getType());
	}

}
